glue-dbus-server.h: im.pidgin.plugin.dbus.xml 
	dbusxx-xml2cpp $^ --adaptor=$@

pidgin-dbus.h: im.pidgin.plugin.dbus.xml 
	dbusxx-xml2cpp $^ --proxy=$@

pidgindbus_HEADERS = pidgin-dbus.h
pidgindbusdir = $(includedir)/pidgin-dbus/

BUILT_SOURCES = glue-dbus-server.h pidgin-dbus.h 

EXTRA_DIST = im.pidgin.plugin.dbus.xml $(BUILT_SOURCES)
